home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.tools.misc,comp.os.ms-windows.programmer.win32,comp.os.ms-windows.programmer.misc,comp.lang.c++
- Path: netcom.com!woerner
- From: woerner@netcom.com (Rob Woerner)
- Subject: Re: [Q] Why doesn't this compile?
- Message-ID: <woernerDq1299.Fup@netcom.com>
- Organization: Netcom Online Communications Services (408-241-9760 login: guest)
- References: <317523C0.5042@eps.agfa.be> <4l3e5l$e1t@druid.borland.com>
- Date: Wed, 17 Apr 1996 22:24:44 GMT
- Sender: woerner@netcom.netcom.com
-
- In article <4l3e5l$e1t@druid.borland.com> pete@borland.com (Pete Becker) writes:
- >In article <317523C0.5042@eps.agfa.be>, rorlic@eps.agfa.be says...
- >>
- [snip]
- >>
- >>Anybody knows what's wrong with it?
- >
- >There's nothing wrong with it. The problem is in your compiler.
- > -- Pete
- >
-
- I agree. However, you can work around it by declaring L outside of A, and
- changing the name of B::L to (say) B::W. The way it is has a hidden 'L', inherited from A, but masked by B::L.
- I think it is confused by the 2 consecutive '::' operators.
-